﻿using System;
using System.Collections.Generic;

namespace Survey.Model.EntriesEntities
{
    public class StudentClass 
    {
        public StudentClass()
        {
            Id = Guid.NewGuid();
        }
        
        public virtual Guid Id { get; private set; }
        public virtual String Name { get; set; }
        public virtual int Grade { get; set; }     
        public virtual School School { get; set; }
        
        private IList<Student> _students = new List<Student>();
        public virtual IList<Student> Student 
        {
            get { return _students; }
            set { _students = value; }
        }

        private IList<Teacher> _teachers = new List<Teacher>();
        public virtual IList<Teacher> Teacher 
        {
            get { return _teachers; }
            set { _teachers = value; }
        }
    }
}
